new sign in functionality and formatting