Added remember me functionality. Not properly working yet