stores current user information in cookieStore.get('currentUser')
updated login controller to use currentUser object