register implemented

register and part of login implemented