fixed user login bug - can now signin tempoary user (not connected to database)