Created automatic login on user signup