Implemented standard symfony auth process and some code cleanup