Remember me functionality

Remember me functionality implemented. When a user logs in, the app can
remember his username and password.