Login form with custom template