Added remember me functionality and done more fine grain access_control