Changing login to use devise instead of self made solution