Changed handle login from void to boolean

This is because remote files can't create new activities. LoginManager now
instead simply checks if the login is valid, and other pieces of the
program can use this to determine what to do.