Fixed image peroblem
added devise working on before action