changing CBV profile view to function
Merge pull request #16 from mexico-abierto/feature-login-functions

changing CBV profile view to function