Using map with getOrElse instead of fold on the performLogin action
Updating the user's last login date when logging in