resolving devise problems