move gallery dependant code from the admin ctrl
move login form to a partial
add theme for blog
add theme
some refactoring