Sign in functionality added