updated login and reg page