ArrayCommand added to user login

The login page now uses a command that the ArrayCommand will use to log
the user in.