Add login functionality and templates admin forms