User object instatiated and passed upon successful login