Login and Register fully working