adding urls and fixing login stuff

Adding urls and login stuff