fixed sign in and registration activities