Remember me

Added remember me feature for customer.
 
why do you need to redirect from the template ?