finished simple login and registration forms