Refine existing forms and create log in form