working login and post
refresh starts but crashes
removed refresh