User's sidebar issue

We can have an exception in in_array call when login_methods is not used.