Added user signing in function