login and requirements fixes