Fixed bug in header sign in