Fix/login redirect on buttons