converted login theme to support register