remove unused code
registration option in login (not working yet)