Custom redirect on custom page for admin user I've created a basic page with url login. 

The node id is 129 and I've made a custom page--node--129.tpl.php in my theme.
On that file I've put this:

&lt;?php print $messages; ?&gt;
&lt;div class="admin-login"&gt;
&lt;?php print drupal_render(drupal_get_form('user_login')); ?&gt;
&lt;/div&gt;


So on this page I'm rendering the user_login form and I'm using it as a page for admin login.
How can I set redirect when admin is logging, lets say to admin/content?
Implement hook_user_login():

function MY_MODULE_user_login(&amp;$edit, $account) {
  if(/* CONDITION, e.g.: $account-&gt;uid == 1 */) {
    $edit['redirect'] = 'admin/content';
  }
}