Removed bad devise view generation and added new session parital code