refine login form for devstudy