Adding changes for auto login after signup