added automatically login user after register, some films template chnages
models refactored and reformated trought some code style