added login and reg in books