added login and reg form