After login and if not connected render template though