adding urls and fixing login stuff