added redirect back feature for login
added working user editing