Testing weather api + minor changes

Minor changes to the login module. More will come...