Functional separate sign in/up. Checking for user existance