Add user fixture and update login function