commiting login functionality. Header and footer need to be separated