Added feature for signing in via the form