create edit profile, fix login & prepare dashboard